package com.wx.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>Title:      OcrProperties. </p>
 * <p>Description OCR配置 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         <a href="yangwensheng@100doc.com.cn"/>杨文生</a>
 * @since      2021/3/1 17:34
 */
@Data
@Configuration
@ConfigurationProperties(prefix = OcrProperties.OCR_PREFIX)
public class OcrProperties {

    public final static String OCR_PREFIX="ocr";

    /**
     * 用户名
     */
    private String secretId;

    /**
     * 密码
     */
    private String secretKey;

    /**
     * 区域
     */
    private String region;

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }
}